package com.lala.rennigou.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lala.rennigou.pojo.EasybuyUserAddress;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface EasybuyUserAddressMapper extends BaseMapper<EasybuyUserAddress> {
    List<EasybuyUserAddress> myaddress(int userid);


    List<EasybuyUserAddress> addressbyisdefault(@Param("isdefault") String isdefault, @Param("userid") int userid);


}
